package edu.mcw.rgd.clinminer.domain.view;

public class JPQLDocumentSuggestionResult {
	private String documentSource;
	private Long count;
	private String caption;

	public String getCaption() {
		return this.caption;
	}


	public JPQLDocumentSuggestionResult(String documentSource, Long count) {
		this.documentSource = documentSource;
		this.count = count;
		caption = documentSource + " (" + count + ")";
	}

	public String getId() {
		return documentSource;
	}
}
